﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Sirian_ScriptEditor.Dialog.WaveDialog
{
    public partial class CreatePoint : Form
    {
        public Point point;

        public CreatePoint()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            this.point = new Point(Int32.Parse(txtX.Text), Int32.Parse(txtY.Text));
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        private void btnCancel_Click_1(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Close();
        }

        private void txtY_TextChanged(object sender, EventArgs e)
        {

        }

        private void CreatePoint_Load(object sender, EventArgs e)
        {

        }
    }
}
